<!DOCTYPE html>
<html lang="en">
<head <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
      integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">

<!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap-theme.min.css"
      integrity="sha384-6pzBo3FDv/PJ8r2KRkGHifhEocL+1X2rVCTTkUfGk7/0pbek5mMa1upzvWbrUbOZ" crossorigin="anonymous">

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"
        integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd"
        crossorigin="anonymous"></script>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<style>
    body {
        background-color: #ccc;
    }

    .col-md-10 {
        size: 18px;
    }

    .neirong {
        background-color: white;
        padding: 30px;
        margin-top: 20px;
    }
</style>
<div class="container">
    <div style="height: 150px"></div>
    <div class="row">
        <div class="col-md-8"><a class="btn btn-info"
                                 href="<?php echo url('index/index') ?>">首页</a>
            <a class="btn btn-success"
               href="<?php echo url('index/suibian', ['cid' => $info['cid']]) ?>">返回列表</a>
        </div>
        <div class="col-md-4">

        </div>
    </div>
</div>
<div class="container neirong">
    <div class="row">
        <div class="col-md-2"><h4>id</h4></div>
        <div class="col-md-10"><?php echo $info['id'] ?></div>
    </div>
    <div class="row">
        <div class="col-md-2"><h4>漏洞类型</h4></div>
        <div class="col-md-10"><?php echo $info['Category'] ?></div>
    </div>

    <div class="row">
        <div class="col-md-2"><h4>漏洞描述</h4></div>
        <div class="col-md-10"><?php echo $info['Kingdom'] ?></div>
    </div>

    <div class="row">
        <div class="col-md-2"><h4>描述</h4></div>
        <div class="col-md-10"><?php echo $info['Abstract'] ?></div>
    </div>

    <div class="row">
        <div class="col-md-2"><h4>漏洞执行位置</h4></div>
        <div class="col-md-10"><pre><?php echo var_export(json_decode($info['Primary'], true), true) ?>
        </pre>
        </div>
    </div>
    <div class="row">
        <div class="col-md-2"><h4>漏洞来源</h4></div>
        <div class="col-md-10"><pre><?php echo var_export(json_decode($info['Source'], true), true) ?>
        </pre>
        </div>
    </div>


</div>

</body>
</html>